package cn.tom.dao;

import cn.tom.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface CommentDao {
    //添加
    int add(Comment comment);
    //多条查询
    List<Comment> findByid(HashMap<String,Object> map);
    //统计
    int total(HashMap<String,Object> map);
}
